package com.powernode.mapper;

import com.powernode.domain.VisitLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 内容:
 * 作者:
 */
public interface VisitLogMapper {
    int insert(VisitLog record);

    int insertSelective(VisitLog record);

    /**
     * 根据客户ID查询当前客户的拜访数据
     *
     * @param customerId
     * @return
     */
    List<VisitLog> queryVisitLogByCustomerId(@Param("customerId") Integer customerId);
}